<include file="Public:head" />
<!-- Tab panes -->
<div class="tab-content">


    <div class="tab-pane active" id="profile" >


        <div class="page-header"><h1>员工资料</h1></div>
        <form class="form-horizontal" role="form" method="post" enctype="multipart/form-data" <empty name="staff.staff_id">action="__URL__/add"<else />action="__URL__/edit" </empty> >
        <notempty name="staff.staff_id">
            <input type="hidden" name="staff_id" value="{$staff.staff_id}">

        </notempty>
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">姓名</label>
                <div class="col-sm-3"><input class="form-control username" id="inputEmail3"name="name" value="{$staff.name}"></div>

                <label for="inputPassword3" class="col-sm-2 control-label">英文名</label>
                <div class="col-sm-3"><input class="form-control engname" id="inputPassword3"name="ename" value="{$staff.ename}"></div>
            </div>
            <div class="form-group">
                <label for="inputEmail3" class="col-sm-2 control-label">优先级</label>
                <div class="col-sm-3"><input class="form-control username" id="inputEmail3"name="order_id" value="{$staff.order_id}"></div>
            </div>
            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">职位(行一)</label>
                <div class="col-sm-3"><input class="form-control post_1" id="inputPassword3" name="position_main" value="{$staff.position_main}"></div>
                <label for="inputPassword3" class="col-sm-2 control-label">职位(行二,可选)</label>
                <div class="col-sm-3"><input class="form-control post_2" id="inputPassword3" name="position_second" value="{$staff.position_second}"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">区域</label>
                <div class="col-sm-3"><input class="form-control area" id="inputPassword3" name="area" value="{$staff.area}"> </div>
                <label for="inputPassword3" class="col-sm-2 control-label">职责范围</label>
                <div class="col-sm-3"><input class="form-control post_3" id="inputPassword3" name="duty" value="{$staff.duty}"></div>
            </div>

            <div class="form-group">
                <div class="img-container col-sm-6 edit">
                    <img src="{$staff.photo}"/></div>
                <div class="img-preview col-sm-3"></div>
                <div class="col-sm-3">
                    <lable class="upd"><input id="fileToUpload" type="file" size="45" name="fileToUpload" class="input" style="">选择图片</lable>
                    <button type="button" id="buttonUpload" class="btn btn-primary">上传</button>
                    <button type="button" class="btn btn-warning reset" style="display:block;margin:20px auto 0;">重置</button>
                </div>
            </div>

            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">生日</label>
                <div class="col-sm-3"><input class="form-control birthday" id="inputPassword3" name="birthday" value="{$staff.birthday}"></div>
                <label for="inputPassword3" class="col-sm-2 control-label">身高(M)</label>
                <div class="col-sm-3"><input class="form-control height" id="inputPassword3" name="stature" value="{$staff.stature}"></div>
            </div>

            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">体重(KG)</label>
                <div class="col-sm-3"><input class="form-control bw" id="inputPassword3"name="weight" value="{$staff.weight}"></div>
                <label for="inputPassword3" class="col-sm-2 control-label">学校</label>
                <div class="col-sm-3"><input class="form-control school" id="inputPassword3" name="school" value="{$staff.school}"></div>
            </div>

            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">QQ</label>
                <div class="col-sm-3"><input class="form-control qq" id="inputPassword3"name="qq" value="{$staff.qq}"></div>
                <label for="inputPassword3" class="col-sm-2 control-label">微信</label>
                <div class="col-sm-3"><input class="form-control wechat" id="inputPassword3"name="wechat" value="{$staff.wechat}"></div>
            </div>

            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">电话</label>
                <div class="col-sm-3"><input class="form-control phone" id="inputPassword3" name="phone"value="{$staff.phone}"></div>
                <label for="inputPassword3" class="col-sm-2 control-label">星座</label>
                <div class="col-sm-3"><input class="form-control constellation" id="inputPassword3"name="constellation" value="{$staff.constellation}"></div>
            </div>

            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">座右铭</label>
                <textarea class="form-control motto col-sm-6" rows="3" name="motto" value="{$staff.motto}">{$staff.motto}</textarea>
            </div>

            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">性格</label>
                <textarea class="form-control character col-sm-6" rows="3" name="character" value="{$staff.character}">{$staff.character}</textarea>
            </div>



            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">兴趣爱好</label>
                <textarea class="form-control interest col-sm-6" rows="3"name="hobby"value="{$staff.hobby}">{$staff.hobby}</textarea>
            </div>

            <button type="submit" class="btn btn-primary user-add">提交</button>
            </form>



        </div>



    </div>
</div>

</body>
</html>